package com.auxgroup.smarthome.controller;

import java.util.concurrent.ThreadLocalRandom;

/**
 *  设备各功能使用情况
 * @Author: laiqiuhua.
 * @Date: 2017/9/25 14:29.
 */
public enum DatapointDetailEnum {
    TEMPERATURE("设定温度"),
    UP_DOWN_SWING("上下摆风"),
    LEFT_RIGHT_SWING("左右摆风"),
    WIND_SPEED_1("风速"),
    TURBO_SILENCE("强力、静音"),
    AIR_CON_FUNC("模式"),
    SLEEP_MODE("睡眠"),
    ON_OFF("开关机"),
    ELECTRIC_HEATING("电热"),
    ECO("ECO"),
    CLEAN("清洁"),
    HEALTHY("健康"),
    AUTO_SCREEN("显示自动"),
    ELECTRIC_LOCK("锁定"),
    SCREEN_ON_OFF("显示打开"),
    ANTI_FUNGUS("防霉"),
    SLEEP_DIY("自定义睡眠"),
    POWER_LIMIT("限电"),
    POWER_LIMIT_PERCENT("整机功率符合百分比"),
    PEAK_TO_VALLEY_POWER("峰谷电"),
    INTELLIGENT_ELECTRICITY("智能用电打开");


    DatapointDetailEnum(String displayName) {
        this.displayName = displayName;
    }

    private String displayName;
    private int total = ThreadLocalRandom.current().nextInt(100);

    public String getDisplayName() {
        return displayName;
    }

    public int getTotal() {
        return total;
    }

}
